<template>
	<view>
		<web-view :src="url" :update-title="false"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
				title: '',
			}
		},
		onLoad(e) {
			this.url = e.url
			this.title = e.title
			uni.setNavigationBarTitle({
				title: this.title
			})
		},
	}
</script>

<style>
</style>